package com.ruoyi.ai.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 次数变更流水业务对象 wx_num_change
 *
 * @author yh
 * @date 2024-04-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class WxNumChangeBo extends BaseEntity {

    /**
     * 变更记录id
     */
    @NotNull(message = "变更记录id不能为空", groups = { EditGroup.class })
    private Long changeId;

    /**
     * 微信用户id
     */
    @NotNull(message = "微信用户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long wxUserId;

    /**
     * 变更类型
     */
    @NotNull(message = "变更类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer changeType;

    /**
     * 业务类型
     */
    @NotNull(message = "业务类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer bizType;

    /**
     * 业务id
     */
    private Long bizId;

    /**
     * 变更数量
     */
    @NotNull(message = "变更数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer changeNum;

    /**
     * 备注
     */
    private String remark;

    /**
     * 用户来源
     * @see com.ruoyi.common.enums.UserType
     */
    private String userType;


}
